package docqa

// SelectAndAskRequest 选择文档并问答请求
type SelectAndAskRequest struct {
	DocumentName string `json:"document_name" form:"document_name"`
	Question     string `json:"question" form:"question"`
}

// SelectAndAskResponse 选择文档并问答响应
type SelectAndAskResponse struct {
	SessionID string `json:"session_id"`
	Answer    string `json:"answer"`
}

// AskRequest 基于session_id的问答请求
type AskRequest struct {
	SessionID string `json:"session_id" form:"session_id"`
	Question  string `json:"question" form:"question"`
}

// AskResponse 基于session_id的问答响应
type AskResponse struct {
	Answer string `json:"answer"`
}